﻿using System.Collections.Generic;
using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;

namespace PhoneUI.Com
{
    /// <summary>
    /// 获取客户库存 请求类
    /// </summary>
    public sealed class GetCustMtrlwareRequest : ILJTokenRequest<GetCustMtrlwareResponse>
    {
        public string token { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        public int cusid { get; set; }
        /// <summary>
        /// 产品编码含
        /// </summary>
        public string mtrlcode { get; set; }

        public string GetApiName()
        {
            return "GetCustMtrlware";
        }
    }

    /// <summary>
    /// 获取客户库存 返回类
    /// </summary>
    public sealed class GetCustMtrlwareResponse : LJResponse
    {
        /// <summary>
        /// 客户库存
        /// </summary>
        public List<CustMtrlware> mtrlwares { get; set; } 
    }
}